package com.nit.lab.vote.dto.vote;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.*;

public class VoteDTO {
    private Long key;
    private Long voteId;
    private Long userId;
    private String userName;
    private Long projectId;
    private String projectName;
    private Long candidateId;
    private String candidateName;
    private String dept;
    private Integer projectType;
    private Integer maxVote;
    private Integer agree;
    private String subject;
    private String type;
    private String subLevel;
    private String workLevel;
    private Integer[] agreeTotal;
    private Integer[] subTotal;
    private Integer[] workTotal;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date gmtCreate;
    private Integer countPoint;

    public VoteDTO() {
    }

    public VoteDTO(Long key, Long voteId, Long userId, String userName, Long projectId, String projectName, Long candidateId, String candidateName, String dept, Integer projectType, Integer maxVote, Integer agree, String subject, String type, String subLevel, String workLevel, Integer[] agreeTotal, Integer[] subTotal, Integer[] workTotal, Date gmtCreate, Integer countPoint) {
        this.key = key;
        this.voteId = voteId;
        this.userId = userId;
        this.userName = userName;
        this.projectId = projectId;
        this.projectName = projectName;
        this.candidateId = candidateId;
        this.candidateName = candidateName;
        this.dept = dept;
        this.projectType = projectType;
        this.maxVote = maxVote;
        this.agree = agree;
        this.subject = subject;
        this.type = type;
        this.subLevel = subLevel;
        this.workLevel = workLevel;
        this.agreeTotal = agreeTotal;
        this.subTotal = subTotal;
        this.workTotal = workTotal;
        this.gmtCreate = gmtCreate;
        this.countPoint = countPoint;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getVoteId() {
        return voteId;
    }

    public void setVoteId(Long voteId) {
        this.voteId = voteId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getCandidateId() {
        return candidateId;
    }

    public void setCandidateId(Long candidateId) {
        this.candidateId = candidateId;
    }

    public String getSubLevel() {
        return subLevel;
    }

    public void setSubLevel(String subLevel) {
        this.subLevel = subLevel;
    }

    public String getWorkLevel() {
        return workLevel;
    }

    public void setWorkLevel(String workLevel) {
        this.workLevel = workLevel;
    }

    public Integer[] getSubTotal() {
        return subTotal;
    }

    public void setSubTotal(Integer[] subTotal) {
        this.subTotal = subTotal;
    }

    public Integer[] getWorkTotal() {
        return workTotal;
    }

    public void setWorkTotal(Integer[] workTotal) {
        this.workTotal = workTotal;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getCandidateName() {
        return candidateName;
    }

    public void setCandidateName(String candidateName) {
        this.candidateName = candidateName;
    }

    public Integer getProjectType() {
        return projectType;
    }

    public void setProjectType(Integer projectType) {
        this.projectType = projectType;
    }

    public Integer getMaxVote() {
        return maxVote;
    }

    public void setMaxVote(Integer maxVote) {
        this.maxVote = maxVote;
    }

    public Integer getAgree() {
        return agree;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public Integer getCountPoint() {
        return countPoint;
    }

    public void setCountPoint(Integer countPoint) {
        this.countPoint = countPoint;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer[] getAgreeTotal() {
        return agreeTotal;
    }

    public void setAgreeTotal(Integer[] agreeTotal) {
        this.agreeTotal = agreeTotal;
    }
}
